package com.onehouse.infrastructure.dao;

import com.onehouse.infrastructure.dao.po.CheckInRoomPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface CheckInRoomDao {
    int insert(CheckInRoomPO checkInRoom);
    
    int update(CheckInRoomPO checkInRoom);

    CheckInRoomPO selectById(@Param("checkInRoomId") String checkInRoomId);
    
    List<CheckInRoomPO> selectByCheckInRoomsId(@Param("checkInRoomsId") String checkInRoomsId);
    
    int deleteById(@Param("checkInRoomId") String checkInRoomId);
    
    int deleteByCheckInRoomsId(@Param("checkInRoomsId") String checkInRoomsId);
} 